import request from '@/utils/request'
import { unionApiUrl } from '@/api/config'

/**
 * 获取党员列表
 * @param {Number} query.recordType 流动记录类型(1：流动党员/2：对内转出/3：对外转出)
 */
export function getPartyMemberList(data) {
    return request({
        url: unionApiUrl + '/partyMemberFlow/getPagePartyMemberFlow',
        method: 'post',
        data,
    })
}


/**
 * 对内转入
 */
export function turnInMember(data) {
    return request({
        url: unionApiUrl + '/partyMemberFlow/internallyTo',
        method: 'post',
        data
    })
}